﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xss.Data.Common.SessionStore;

namespace Xss.Data
{
    public class AdoContext : IAdoContext
    {

        public Common.IDbSource GetAdoSource(string source)
        {
            throw new NotImplementedException();
        }

        public void Dispose()
        {
            throw new NotImplementedException();
        }

        static IAdoContext _instance = new AdoContext();
        readonly static object _sync = new object();
        public static IAdoContext Instance
        {
            get
            {
                lock (_sync)
                {
                    if (_instance == null)
                        _instance = new AdoContext();
                    return _instance;
                }
            }
        }
    }
}
